// @ts-ignore
/* eslint-disable */
import request from '@/services/request';

/** 列表 POST /v1/openapi/evaluations */
export async function evaluationV1OpenapiControllerIndex(
  body: API.EvaluationOpenApiIndexDto,
  options?: { [key: string]: any },
) {
  return request<{ total: number; list: API.EvaluationOpenapiIndexResult[] }>(
    '/v1/openapi/evaluations',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    },
  );
}
